package com.baitengsoft.patentapimonitor.api.model;

import java.math.BigDecimal;

/**
 * 年度分析返回信息结果集
 * @author Chen 2018/1/2
 */
public class WebYearStatisticInfo implements Comparable<WebYearStatisticInfo> {
    private Integer year;   //年份
    private Integer fmcount;//发明
    private Integer syxxcount;//实用新型
    private Integer wgsjcount;//外观设计
    private Integer total;  //合计
    private BigDecimal increaseRate;//增长率

    public Integer getYear() {
        return year;
    }

    public void setYear(Integer year) {
        this.year = year;
    }

    public Integer getFmcount() {
        return fmcount;
    }

    public void setFmcount(Integer fmcount) {
        this.fmcount = fmcount;
    }

    public Integer getSyxxcount() {
        return syxxcount;
    }

    public void setSyxxcount(Integer syxxcount) {
        this.syxxcount = syxxcount;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public BigDecimal getIncreaseRate() {
        return increaseRate;
    }

    public void setIncreaseRate(BigDecimal increaseRate) {
        this.increaseRate = increaseRate;
    }

    public Integer getWgsjcount() {
        return wgsjcount;
    }

    public void setWgsjcount(Integer wgsjcount) {
        this.wgsjcount = wgsjcount;
    }


    @Override
    public int compareTo(WebYearStatisticInfo o) {
        return o.year.compareTo(year);
    }
}
